package com.github.cakin.shiro.chapter20.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className: ServiceController
 * @description: 测试：向服务端请求信息
 * @date: 2020/5/29
 * @author: cakin
 */
@RestController
public class ServiceController {

    @RequestMapping(value = "/hello",method= RequestMethod.GET)
    public String hello1(String[] param1, String param2) {
        return "hello" + param1[0] + param1[1] + param2;
    }
}
